var is_local = 0;

var siteUrl = 'http://www.qds.tt/';

if (!is_local) {
    siteUrl = 'https://'+window.location.host+'/';
}

//订单待接单列表接口(GET)
var worker_order_list = siteUrl + 'worker/order-list';

//订单配送详情列表接口(GET)
var worker_order_info = siteUrl + 'worker/order-info';

//改派接口(GET)
var worker_order_resend = siteUrl + 'worker/order-resend';

//接单接口(GET)
var worker_order_send = siteUrl + 'worker/order-send';

//登录验证(POST)
var worker_login = siteUrl + 'worker/login';

//修改密码(POST)
var worker_pwd = siteUrl + 'worker/pwd';

//个人中心(GET)
var worker_info = siteUrl + 'worker/info';

//搜索水票(GET)
var worker_search = siteUrl + 'worker/search';

//老客户导入下拉列表数据接口(GET)
var worker_select_data = siteUrl + 'worker/select-data';

//老客户导入接口(post)
var worker_import = siteUrl + 'worker/import';

//回桶接口(post)
var worker_complete = siteUrl + 'worker/complete';

//水票充值 (请求get/ 提交post（bill_id  bill_num  mid   money）)
var worker_bill_charge = siteUrl + 'worker/bill-charge';

//零送水取桶 ( 提交post（mid  name nums bucket_category_ids）)
var worker_recover_bucket = siteUrl + 'worker/recover-bucket';


//自助下单 (get() 提交post（mid  goods_ids  goods_nums money  buyer_address buyer_name mobile type==1 description）)
var worker_create_order = siteUrl + 'worker/create-order';


//微信绑定（跳转） (请求get/ 提交post（openID）)
var worker_bindwx = siteUrl + 'worker/bindwx';

//微信绑定(用确认) (请求get/ 提交post（openID）)
var worker_wx_info = siteUrl + 'worker/wx-info';


//微信绑定 (请求get/ 提交post（openID）)
var worker_remove_bindwx = siteUrl + 'worker/remove-bindwx';

var worker_wx_config = siteUrl + 'worker/wx-config';

var login_key = 'worker';





